package com.qq.weixin.model.user;

import java.util.Date;

import com.qq.weixin.model.BaseResult;

public class UserInfo extends BaseResult {

	private String xiaomiId;
	private String openid;
	private String unionid;
	private Integer subscribe;
	private String nickname;
	private Integer sex; // 1 男 2 女 0 未知
	private String language;
	private String city;
	private String province;
	private String country;
	private String headimgurl;
	private Date subscribe_time; // 最后关注时间
	private String remark;
	private String groupid;

	public String getXiaomiId() {
		return xiaomiId;
	}

	public void setXiaomiId(String xiaomiId) {
		this.xiaomiId = xiaomiId;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public Integer getSubscribe() {
		return subscribe;
	}

	public void setSubscribe(Integer subscribe) {
		this.subscribe = subscribe;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getGroupid() {
		return groupid;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}

	public Date getSubscribe_time() {
		return subscribe_time;
	}

	public void setSubscribe_time(Date subscribe_time) {
		this.subscribe_time = subscribe_time;
	}

	@Override
	public String toString() {
		return "UserInfo [xiaomiId=" + xiaomiId + ", openid=" + openid
				+ ", unionid=" + unionid + ", subscribe=" + subscribe
				+ ", nickname=" + nickname + ", sex=" + sex + ", language="
				+ language + ", city=" + city + ", province=" + province
				+ ", country=" + country + ", headimgurl=" + headimgurl
				+ ", subscribe_time=" + subscribe_time + ", remark=" + remark
				+ ", groupid=" + groupid + ", resultInfo=" + resultInfo + "]";
	}

}
